package com.zxm.sunshineaiary.view.mydialog;

import android.content.Context;
import android.view.View;

import com.zxm.sunshineaiary.util.SystemUtil;
import com.zxm.sunshineaiary.view.mydialog.basedialog.BasDialog;

/**
 * 用于提示推出程序的Dialog
 * 
 * @author Administrator
 * 
 */
public class MyDialog extends BasDialog {

	public MyDialog(Context context) {
		super(context);
	}

	@Override
	public void onClick(View v) {
		if (confrimButton == v) {
			SystemUtil.closeAppNew(mContext);
		}
		super.onClick(v);
	}
}
